package {
	import component.flit.FlitComponent;
	
	import obecto.core.FLApplication;
	import obecto.event.FLEvent;

	public class samples extends FLApplication
	{
		private var flitComponent : FlitComponent;
		
		public function samples()
		{
			super();
			
			flitComponent = new FlitComponent();
			flitComponent.addEventListener(FLEvent.INITIALIZE, handleFlitInitialize);
			flitComponent.addEventListener(FLEvent.CREATION_COMPLETE, handleFlitCreationComplete);
		}
		
		private function handleFlitInitialize(e : FLEvent) : void 
		{
			trace("Flit Component is initialized!");
		}
		
		private function handleFlitCreationComplete(e : FLEvent) : void 
		{
			trace("Flit Component creation is completed!");
		}
		
	}
}
